<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
    <title>ConvertUtils</title>
<link href="../../../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script><script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../../styles/style.css" rel="Stylesheet"><link href="../../../styles/logo-styles.css" rel="Stylesheet"><link href="../../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../../scripts/main.js" async="async"></script>  </head>
  <body>
    <div id="container">
      <div id="leftColumn"><a href="../../../index.html">
          <div id="logo"></div>
        </a>
        <div id="paneSearch"></div>
        <div id="sideMenu"></div>
      </div>
      <div id="main">
        <div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../../scripts/main.js"></script>        <div class="main-content" id="content" pageIds="Engine::com.drake.engine.utils/ConvertUtils///PointingToDeclaration//-1683276876">
          <div class="navigation-wrapper" id="navigation-wrapper">
            <div class="breadcrumbs"><a href="../../../index.html">Engine</a>/<a href="../index.html">com.drake.engine.utils</a>/<a href="index.html">ConvertUtils</a></div>
            <div class="pull-right d-flex">
              <div id="searchBar"></div>
            </div>
          </div>
          <div class="cover ">
            <h1 class="cover"><span>Convert</span><wbr></wbr><span>Utils</span></h1>
            <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">class <a href="index.html">ConvertUtils</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="sample-container"><code class="" theme="idea"><pre>    author: Blankj
    blog  : http://blankj.com
    time  : 2016/08/13
    desc  : utils about convert
</pre></code></div></div></div>
          </div>
          <div class="tabbedcontent">
            <div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Functions">Functions</button></div>
            <div class="tabs-section-body">
              <h2 class="">Functions</h2>
              <div class="table" data-togglable="Functions"><a data-name="-1882111140%2FFunctions%2F-1683276876" anchor-label="bitmap2Bytes" id="-1882111140%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="bitmap2-bytes.html">bitmap2Bytes</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1882111140%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="bitmap2-bytes.html">bitmap2Bytes</a>(bitmap: <a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html">Bitmap</a>, format: <a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.CompressFormat.html">Bitmap.CompressFormat</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1882111140%2FFunctions%2F-1683276876" anchor-label="bitmap2Bytes" id="-1882111140%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-1882111140%2FFunctions%2F-1683276876" anchor-label="bitmap2Bytes" id="-1882111140%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Bitmap to bytes.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1625680578%2FFunctions%2F-1683276876" anchor-label="bitmap2Drawable" id="-1625680578%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="bitmap2-drawable.html">bitmap2Drawable</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1625680578%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="bitmap2-drawable.html">bitmap2Drawable</a>(bitmap: <a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html">Bitmap</a>): <a href="https://developer.android.com/reference/kotlin/android/graphics/drawable/Drawable.html">Drawable</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1625680578%2FFunctions%2F-1683276876" anchor-label="bitmap2Drawable" id="-1625680578%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-1625680578%2FFunctions%2F-1683276876" anchor-label="bitmap2Drawable" id="-1625680578%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Bitmap to drawable.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-249370908%2FFunctions%2F-1683276876" anchor-label="bits2Bytes" id="-249370908%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="bits2-bytes.html">bits2Bytes</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-249370908%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="bits2-bytes.html">bits2Bytes</a>(bits: <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-249370908%2FFunctions%2F-1683276876" anchor-label="bits2Bytes" id="-249370908%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-249370908%2FFunctions%2F-1683276876" anchor-label="bits2Bytes" id="-249370908%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Bits to bytes.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="108274307%2FFunctions%2F-1683276876" anchor-label="byte2FitMemorySize" id="108274307%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="byte2-fit-memory-size.html">byte2FitMemorySize</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="108274307%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="byte2-fit-memory-size.html">byte2FitMemorySize</a>(byteSize: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a>): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="108274307%2FFunctions%2F-1683276876" anchor-label="byte2FitMemorySize" id="108274307%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="108274307%2FFunctions%2F-1683276876" anchor-label="byte2FitMemorySize" id="108274307%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Size of byte to fit size of memory.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="918393374%2FFunctions%2F-1683276876" anchor-label="byte2MemorySize" id="918393374%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="byte2-memory-size.html">byte2MemorySize</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="918393374%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="byte2-memory-size.html">byte2MemorySize</a>(byteSize: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a>, unit: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="918393374%2FFunctions%2F-1683276876" anchor-label="byte2MemorySize" id="918393374%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="918393374%2FFunctions%2F-1683276876" anchor-label="byte2MemorySize" id="918393374%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Size of byte to size of memory in unit.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1729460152%2FFunctions%2F-1683276876" anchor-label="bytes2Bitmap" id="-1729460152%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="bytes2-bitmap.html">bytes2Bitmap</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1729460152%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="bytes2-bitmap.html">bytes2Bitmap</a>(bytes: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a>&gt;): <a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html">Bitmap</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1729460152%2FFunctions%2F-1683276876" anchor-label="bytes2Bitmap" id="-1729460152%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-1729460152%2FFunctions%2F-1683276876" anchor-label="bytes2Bitmap" id="-1729460152%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Bytes to bitmap.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="1741380241%2FFunctions%2F-1683276876" anchor-label="bytes2Bits" id="1741380241%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="bytes2-bits.html">bytes2Bits</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1741380241%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="bytes2-bits.html">bytes2Bits</a>(bytes: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a>&gt;): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="1741380241%2FFunctions%2F-1683276876" anchor-label="bytes2Bits" id="1741380241%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="1741380241%2FFunctions%2F-1683276876" anchor-label="bytes2Bits" id="1741380241%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Bytes to bits.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1098164526%2FFunctions%2F-1683276876" anchor-label="bytes2Chars" id="-1098164526%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="bytes2-chars.html">bytes2Chars</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1098164526%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="bytes2-chars.html">bytes2Chars</a>(bytes: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a>&gt;): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char/index.html">Char</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1098164526%2FFunctions%2F-1683276876" anchor-label="bytes2Chars" id="-1098164526%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-1098164526%2FFunctions%2F-1683276876" anchor-label="bytes2Chars" id="-1098164526%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Bytes to chars.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1223276039%2FFunctions%2F-1683276876" anchor-label="bytes2Drawable" id="-1223276039%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="bytes2-drawable.html">bytes2Drawable</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1223276039%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="bytes2-drawable.html">bytes2Drawable</a>(bytes: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a>&gt;): <a href="https://developer.android.com/reference/kotlin/android/graphics/drawable/Drawable.html">Drawable</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1223276039%2FFunctions%2F-1683276876" anchor-label="bytes2Drawable" id="-1223276039%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-1223276039%2FFunctions%2F-1683276876" anchor-label="bytes2Drawable" id="-1223276039%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Bytes to drawable.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-707187773%2FFunctions%2F-1683276876" anchor-label="bytes2HexString" id="-707187773%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="bytes2-hex-string.html">bytes2HexString</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-707187773%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="bytes2-hex-string.html">bytes2HexString</a>(bytes: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a>&gt;): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-707187773%2FFunctions%2F-1683276876" anchor-label="bytes2HexString" id="-707187773%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-707187773%2FFunctions%2F-1683276876" anchor-label="bytes2HexString" id="-707187773%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Bytes to hex string.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="1102511141%2FFunctions%2F-1683276876" anchor-label="bytes2InputStream" id="1102511141%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="bytes2-input-stream.html">bytes2InputStream</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1102511141%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="bytes2-input-stream.html">bytes2InputStream</a>(bytes: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a>&gt;): <a href="https://developer.android.com/reference/kotlin/java/io/InputStream.html">InputStream</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="1102511141%2FFunctions%2F-1683276876" anchor-label="bytes2InputStream" id="1102511141%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="1102511141%2FFunctions%2F-1683276876" anchor-label="bytes2InputStream" id="1102511141%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Bytes to input stream.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-119631786%2FFunctions%2F-1683276876" anchor-label="bytes2OutputStream" id="-119631786%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="bytes2-output-stream.html">bytes2OutputStream</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-119631786%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="bytes2-output-stream.html">bytes2OutputStream</a>(bytes: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a>&gt;): <a href="https://developer.android.com/reference/kotlin/java/io/OutputStream.html">OutputStream</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-119631786%2FFunctions%2F-1683276876" anchor-label="bytes2OutputStream" id="-119631786%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-119631786%2FFunctions%2F-1683276876" anchor-label="bytes2OutputStream" id="-119631786%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Bytes to output stream.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1256110652%2FFunctions%2F-1683276876" anchor-label="chars2Bytes" id="-1256110652%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="chars2-bytes.html">chars2Bytes</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1256110652%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="chars2-bytes.html">chars2Bytes</a>(chars: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char/index.html">Char</a>&gt;): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1256110652%2FFunctions%2F-1683276876" anchor-label="chars2Bytes" id="-1256110652%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-1256110652%2FFunctions%2F-1683276876" anchor-label="chars2Bytes" id="-1256110652%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Chars to bytes.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-188397787%2FFunctions%2F-1683276876" anchor-label="drawable2Bitmap" id="-188397787%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="drawable2-bitmap.html">drawable2Bitmap</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-188397787%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="drawable2-bitmap.html">drawable2Bitmap</a>(drawable: <a href="https://developer.android.com/reference/kotlin/android/graphics/drawable/Drawable.html">Drawable</a>): <a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html">Bitmap</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-188397787%2FFunctions%2F-1683276876" anchor-label="drawable2Bitmap" id="-188397787%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-188397787%2FFunctions%2F-1683276876" anchor-label="drawable2Bitmap" id="-188397787%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Drawable to bitmap.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="1690439044%2FFunctions%2F-1683276876" anchor-label="drawable2Bytes" id="1690439044%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="drawable2-bytes.html">drawable2Bytes</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1690439044%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="drawable2-bytes.html">drawable2Bytes</a>(drawable: <a href="https://developer.android.com/reference/kotlin/android/graphics/drawable/Drawable.html">Drawable</a>, format: <a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.CompressFormat.html">Bitmap.CompressFormat</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="1690439044%2FFunctions%2F-1683276876" anchor-label="drawable2Bytes" id="1690439044%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="1690439044%2FFunctions%2F-1683276876" anchor-label="drawable2Bytes" id="1690439044%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Drawable to bytes.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-343821656%2FFunctions%2F-1683276876" anchor-label="hexString2Bytes" id="-343821656%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="hex-string2-bytes.html">hexString2Bytes</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-343821656%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="hex-string2-bytes.html">hexString2Bytes</a>(hexString: <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-343821656%2FFunctions%2F-1683276876" anchor-label="hexString2Bytes" id="-343821656%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-343821656%2FFunctions%2F-1683276876" anchor-label="hexString2Bytes" id="-343821656%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Hex string to bytes.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="451224565%2FFunctions%2F-1683276876" anchor-label="input2OutputStream" id="451224565%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="input2-output-stream.html">input2OutputStream</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="451224565%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="input2-output-stream.html">input2OutputStream</a>(is: <a href="https://developer.android.com/reference/kotlin/java/io/InputStream.html">InputStream</a>): <a href="https://developer.android.com/reference/kotlin/java/io/ByteArrayOutputStream.html">ByteArrayOutputStream</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="451224565%2FFunctions%2F-1683276876" anchor-label="input2OutputStream" id="451224565%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="451224565%2FFunctions%2F-1683276876" anchor-label="input2OutputStream" id="451224565%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Input stream to output stream.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="861085317%2FFunctions%2F-1683276876" anchor-label="inputStream2Bytes" id="861085317%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="input-stream2-bytes.html">inputStream2Bytes</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="861085317%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="input-stream2-bytes.html">inputStream2Bytes</a>(is: <a href="https://developer.android.com/reference/kotlin/java/io/InputStream.html">InputStream</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="861085317%2FFunctions%2F-1683276876" anchor-label="inputStream2Bytes" id="861085317%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="861085317%2FFunctions%2F-1683276876" anchor-label="inputStream2Bytes" id="861085317%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Input stream to bytes.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="801553173%2FFunctions%2F-1683276876" anchor-label="inputStream2String" id="801553173%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="input-stream2-string.html">inputStream2String</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="801553173%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="input-stream2-string.html">inputStream2String</a>(is: <a href="https://developer.android.com/reference/kotlin/java/io/InputStream.html">InputStream</a>, charsetName: <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="801553173%2FFunctions%2F-1683276876" anchor-label="inputStream2String" id="801553173%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="801553173%2FFunctions%2F-1683276876" anchor-label="inputStream2String" id="801553173%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Input stream to string.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-5074158%2FFunctions%2F-1683276876" anchor-label="memorySize2Byte" id="-5074158%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="memory-size2-byte.html">memorySize2Byte</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-5074158%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="memory-size2-byte.html">memorySize2Byte</a>(memorySize: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a>, unit: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-5074158%2FFunctions%2F-1683276876" anchor-label="memorySize2Byte" id="-5074158%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-5074158%2FFunctions%2F-1683276876" anchor-label="memorySize2Byte" id="-5074158%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Size of memory in unit to size of byte.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="730971236%2FFunctions%2F-1683276876" anchor-label="millis2FitTimeSpan" id="730971236%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="millis2-fit-time-span.html">millis2FitTimeSpan</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="730971236%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="millis2-fit-time-span.html">millis2FitTimeSpan</a>(millis: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a>, precision: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="730971236%2FFunctions%2F-1683276876" anchor-label="millis2FitTimeSpan" id="730971236%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="730971236%2FFunctions%2F-1683276876" anchor-label="millis2FitTimeSpan" id="730971236%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Milliseconds to fit time span.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="866996967%2FFunctions%2F-1683276876" anchor-label="millis2TimeSpan" id="866996967%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="millis2-time-span.html">millis2TimeSpan</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="866996967%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="millis2-time-span.html">millis2TimeSpan</a>(millis: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a>, unit: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="866996967%2FFunctions%2F-1683276876" anchor-label="millis2TimeSpan" id="866996967%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="866996967%2FFunctions%2F-1683276876" anchor-label="millis2TimeSpan" id="866996967%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Milliseconds to time span in unit.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="675734930%2FFunctions%2F-1683276876" anchor-label="output2InputStream" id="675734930%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="output2-input-stream.html">output2InputStream</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="675734930%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="output2-input-stream.html">output2InputStream</a>(out: <a href="https://developer.android.com/reference/kotlin/java/io/OutputStream.html">OutputStream</a>): <a href="https://developer.android.com/reference/kotlin/java/io/ByteArrayInputStream.html">ByteArrayInputStream</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="675734930%2FFunctions%2F-1683276876" anchor-label="output2InputStream" id="675734930%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="675734930%2FFunctions%2F-1683276876" anchor-label="output2InputStream" id="675734930%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Output stream to input stream.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="392436881%2FFunctions%2F-1683276876" anchor-label="outputStream2Bytes" id="392436881%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="output-stream2-bytes.html">outputStream2Bytes</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="392436881%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="output-stream2-bytes.html">outputStream2Bytes</a>(out: <a href="https://developer.android.com/reference/kotlin/java/io/OutputStream.html">OutputStream</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html">Byte</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="392436881%2FFunctions%2F-1683276876" anchor-label="outputStream2Bytes" id="392436881%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="392436881%2FFunctions%2F-1683276876" anchor-label="outputStream2Bytes" id="392436881%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Output stream to bytes.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="2083309735%2FFunctions%2F-1683276876" anchor-label="outputStream2String" id="2083309735%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="output-stream2-string.html">outputStream2String</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2083309735%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="output-stream2-string.html">outputStream2String</a>(out: <a href="https://developer.android.com/reference/kotlin/java/io/OutputStream.html">OutputStream</a>, charsetName: <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="2083309735%2FFunctions%2F-1683276876" anchor-label="outputStream2String" id="2083309735%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="2083309735%2FFunctions%2F-1683276876" anchor-label="outputStream2String" id="2083309735%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Output stream to string.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="68200864%2FFunctions%2F-1683276876" anchor-label="string2InputStream" id="68200864%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="string2-input-stream.html">string2InputStream</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="68200864%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="string2-input-stream.html">string2InputStream</a>(string: <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>, charsetName: <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>): <a href="https://developer.android.com/reference/kotlin/java/io/InputStream.html">InputStream</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="68200864%2FFunctions%2F-1683276876" anchor-label="string2InputStream" id="68200864%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="68200864%2FFunctions%2F-1683276876" anchor-label="string2InputStream" id="68200864%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>String to input stream.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1517170577%2FFunctions%2F-1683276876" anchor-label="string2OutputStream" id="-1517170577%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="string2-output-stream.html">string2OutputStream</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1517170577%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="string2-output-stream.html">string2OutputStream</a>(string: <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>, charsetName: <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>): <a href="https://developer.android.com/reference/kotlin/java/io/OutputStream.html">OutputStream</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1517170577%2FFunctions%2F-1683276876" anchor-label="string2OutputStream" id="-1517170577%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-1517170577%2FFunctions%2F-1683276876" anchor-label="string2OutputStream" id="-1517170577%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>String to output stream.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1416223831%2FFunctions%2F-1683276876" anchor-label="timeSpan2Millis" id="-1416223831%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="time-span2-millis.html">timeSpan2Millis</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1416223831%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="time-span2-millis.html">timeSpan2Millis</a>(timeSpan: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a>, unit: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1416223831%2FFunctions%2F-1683276876" anchor-label="timeSpan2Millis" id="-1416223831%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-1416223831%2FFunctions%2F-1683276876" anchor-label="timeSpan2Millis" id="-1416223831%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Time span in unit to milliseconds.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="388389245%2FFunctions%2F-1683276876" anchor-label="view2Bitmap" id="388389245%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="view2-bitmap.html">view2Bitmap</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="388389245%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="view2-bitmap.html">view2Bitmap</a>(view: <a href="https://developer.android.com/reference/kotlin/android/view/View.html">View</a>): <a href="https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html">Bitmap</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="388389245%2FFunctions%2F-1683276876" anchor-label="view2Bitmap" id="388389245%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="388389245%2FFunctions%2F-1683276876" anchor-label="view2Bitmap" id="388389245%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>View to bitmap.</div></div>
</div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
      </div>
    </div>
  </body>
</html>

